package com.guli.auth.service;

import com.guli.auth.vo.UserLoginVo;
import com.guli.auth.vo.UserRegisterVo;
import org.springframework.validation.BindingResult;
import org.springframework.web.servlet.mvc.support.RedirectAttributes;

import javax.servlet.http.HttpSession;

/**
 * @Author zzb
 * @Date 2024/5/29 16:07
 * @Version 1.0
 * @description
 */
public interface LoginService {
    Boolean sendCode(String phone);

    String register(UserRegisterVo registerVo, BindingResult result, RedirectAttributes redirectAttributes);

    String login(UserLoginVo userLoginVo, HttpSession session);
}
